package com.wframe.project.jnd.rest.util;

import org.apache.commons.lang.StringUtils;

public class SessionUser {

	private String userid;
	private String title;
	private String username;
	private String phone;
	/**
	 * 认证状态：true已认证、false未认证
	 */
	private boolean auth = false;
	private String openId;
	private String comname;
	
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public boolean isAuth() {
		return auth;
	}
	public void setAuth(boolean auth) {
		this.auth = auth;
	}
	public String getOpenId() {
		return openId;
	}
	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getComname() {
		return StringUtils.trimToEmpty(comname);
	}

	public void setComname(String comname) {
		this.comname = comname;
	}
}
